﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YAPL.Language.Ast {
	public class InstanceVariableExpression : BaseIdentifierExpression{
		public InstanceVariableExpression(ExpressionType nodeType, Type type, string name) : base(nodeType, type, name) {}
		public override bool NodeEquals(Expression other) {
			if (other is InstanceVariableExpression) {
				return Name.Equals((other as InstanceVariableExpression).Name);
			}
			return false;
		}

	}
}
